package com.gopay.common.domain.cps;

import java.util.Date;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;

import com.gopay.common.domain.BaseEntity;

/**
 * 银行账号联行号信息表
 * 
 * @CpsBankAcctBranchCode.java
 * @author KZ-TU
 * @2013-1-18 上午11:29:14 www.gopay.com.cn Inc.All rights reserved.
 */
@Entity
@Table(name = "CPS_BANK_ACCT_BRANCH_CODE")
public class CpsBankAcctBranchCode extends BaseEntity {

    private static final long serialVersionUID = 5778728113457894383L;

    @Id
    @Column(name = "BANK_ACCT_NUM", unique = true, nullable = false, length = 30)
    private String bankAcctNum;
    @Column(name = "PBOC_BANK_BRANCH_CODE")
    private String pbocBankBranchCode;
    @Column(name = "CREATED_TS")
    private Date createdTs;
    @Column(name = "LAST_UPD_TS")
    private Date lastUpdTs;
    @Column(name = "LAST_UPD_TRANCODE")
    private int lastUpdTranCode;

    public String getBankAcctNum() {
        return bankAcctNum;
    }

    public void setBankAcctNum(String bankAcctNum) {
        this.bankAcctNum = bankAcctNum;
    }

    public String getPbocBankBranchCode() {
        return pbocBankBranchCode;
    }

    public void setPbocBankBranchCode(String pbocBankBranchCode) {
        this.pbocBankBranchCode = pbocBankBranchCode;
    }

    public Date getCreatedTs() {
        return createdTs;
    }

    public void setCreatedTs(Date createdTs) {
        this.createdTs = createdTs;
    }

    public Date getLastUpdTs() {
        return lastUpdTs;
    }

    public void setLastUpdTs(Date lastUpdTs) {
        this.lastUpdTs = lastUpdTs;
    }

    public int getLastUpdTranCode() {
        return lastUpdTranCode;
    }

    public void setLastUpdTranCode(int lastUpdTranCode) {
        this.lastUpdTranCode = lastUpdTranCode;
    }

}
